home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1994 April / Inside Multimedia CD-ROM (April 1994).iso / prg / gs / gs250.exe / GSCONFIG.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-08-11  |  728 b   |  31 lines

  1. @echo off
  2. if '%1'=='+' goto noinit
  3. echo + >_temp_.dob
  4. echo # >_temp_.dow
  5. echo /* This file was automatically generated by Ghostscript (gsconfig.bat). */ >_temp_.dh
  6. echo /* See gconfig.c for documentation. */ >>_temp_.dh
  7. echo /* */ >_temp_.dop
  8. echo + >_temp_.dlb
  9. echogs @echo off >_temp_.bat
  10. goto top
  11. :noinit
  12. shift
  13. :top
  14. if '%1'=='' goto done
  15. if '%1'=='+' goto nofin
  16. copy /b _temp_.bat+%1 >nul
  17. shift
  18. goto top
  19. :done
  20. command /c _temp_.bat >nul
  21. sort <_temp_.dob | uniq >obj.tr
  22. sort <_temp_.dow | uniq >objw.tr
  23. sort <_temp_.dop | uniq >>_temp_.dh
  24. if exist lib.tr erase lib.tr
  25. rename _temp_.dlb lib.tr
  26. if exist gconfig.h erase gconfig.h
  27. rename _temp_.dh gconfig.h
  28. erase _temp_.d*
  29. erase _temp_*.bat
  30. :nofin
  31.